package com.wx.jpa.service;

import com.wx.jpa.entity.UserInfo;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @ClassName UserService
 * @Author wx
 * @Description 用户业务层接口
 * @Date 2018-12-26-20:57
 */
public interface UserService {
    List<UserInfo> getUserList();
    UserInfo getUserByName(String name);
    UserInfo addUserInfo(UserInfo userInfo);
    UserInfo updateUserInfoById(UserInfo userInfo);
    void deleteUserInfoById(Long id);
    List<UserInfo>getCurrentUserList();
    Page<UserInfo> getPageUserList();
}
